
package com.bei_en.teacher.third.pay.bean.Mwxpay;

/**
 * 微信通用接口凭证
 * 
 * @author txw
 * @version 1.0
 */
public class JsTicket {

    /**
     * 获取到的凭证
     */
    private String ticket;
    private String errcode;
    private String errmsg;

    /**
     * 凭证有效时间，单位：秒
     */
    private int expires_in;

    public String getTicket() {

	return ticket;
    }

    public void setTicket(String ticket) {

	this.ticket = ticket;
    }

    public String getErrcode() {

	return errcode;
    }

    public void setErrcode(String errcode) {

	this.errcode = errcode;
    }

    public String getErrmsg() {

	return errmsg;
    }

    public void setErrmsg(String errmsg) {

	this.errmsg = errmsg;
    }

    public int getExpires_in() {

	return expires_in;
    }

    public void setExpires_in(int expires_in) {

	this.expires_in = expires_in;
    }

    @Override
    public String toString() {

	return "JsTicket [ticket="+ticket+", errcode="+errcode+", errmsg="+errmsg+", expires_in="
		+expires_in+"]";
    }

}